package com.ap.core.validation.message.info;

import org.joda.time.LocalDateTime;

import com.ap.core.common.types.InputMessageType;
import com.ap.core.common.types.MessageStatus;
import com.ap.core.cxf.jaxb.common.DeliveryType;
import com.ap.core.cxf.jaxb.msghdr.MessageType;
import com.ap.core.cxf.jaxb.rtp.TransactionCheckOutType;

/**
 * This info object will hold values from submit rtp message to validate the forth coming message retrieve rtp.
 */
public interface RTPOriginalInfo extends OriginalInfo {

    MessageType getOriginalMessageType();

    boolean isOrderPaymentExists(MessageStatus msgStatus);

    LocalDateTime getRetrievalExpiryTime();
    
    LocalDateTime getReconCutoffEndTime();

    boolean isOrderPaymentExists();
    
    String getOriginalAPTrId();
    
    String getOriginalAPTxnId();
    
    InputMessageType getOriginalInputMessageType();
    
    TransactionCheckOutType getTransactionCheckOutType();
    
    DeliveryType getDeliveryType();
    
    

}
